@import '~antd/lib/style/themes/default.less';

.scrollLayout {
    overflow: auto;
}

.InitUserCard {
    width: 1200px;
    margin: 24px auto;
    padding: 40px 64px;
    background: #fff;
}

.positIon {
    position: relative;
    display: flex;
}

.fLeft {
    width: 1000px;
}

.fRight {
    // width: 180px;
    margin-left: 15px;
    padding: 15px;
    background-color: #fff;
    // position: fixed;
    // right: 10px;
    // top: 300px;
    // z-index: 1;
}

.welcome {
    width: 1200px;
    margin: 30px auto;
    height: 180px;

    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

.title {
    font-weight: 500;
    color: #000;
    font-size: 16px;
    margin: 30px 0;
}

.block {
    position: relative;
    border-radius: 4px;
    background: #f7f7f7;
    padding-top: 28px;
}

.block + .block {
    margin-top: 20px;
}

.btnItem {
    margin-top: 25px;

    button + button {
        margin-left: 15px;
    }
}

.add {
    margin-top: 10px;
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.5s;

    &:hover {
        color: @primary-color;
        border-color: @primary-color;
    }
}

.del {
    position: absolute;
    right: 0;
    top: -10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100%;
    color: #fff;
    font-size: 10px;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;

    &:hover {
        opacity: 0.8;
    }
}

.upload {
    width: 82px;
    height: 82px;
    overflow: hidden;
    cursor: pointer;
}
.uploaderShow {
    width: 80px;
    height: 80px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.uploaderBtn {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
    padding: 15px 5px;
    font-size: 12px;

    &:hover {
        cursor: pointer;
        border-color: @primary-color;
    }
}

.uploadTips {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
    line-height: 20px;
    margin-top: 10px;
}

.agreeContent {
    display: flex;
    align-items: baseline;
    line-height: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 30px;

    .text {
        margin-left: 15px;
    }
}

@media screen and (max-width: 1200px) {
    .InitUserCard,
    .welcome {
        width: 85%;
    }

    .InitUserCard {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .block {
        padding: 28px 16px 0 16px;
    }
}
